home *** CD-ROM | disk | FTP | other *** search
- 10 rem c64/c128 retir'eze
- 20 goto1050
- 30 open4,4,0:cmd4:goto 60
- 40 open4,4,4:cmd4
- 50 print chr$(27)"8": rem paper sensor off
- 60 printtab(60)name$
- 70 printtab(60)date$:print:print
- 80 printchr$(14) tab(13)"- retir'eze -"
- 90 gosub2080
- 100 printchr$(14) tab(06)"a financial retirement program"
- 110 if type$="a"then printchr$(15)
- 120 if type$="b"then printchr$(129)
- 130 print
- 140 printtab(32)"(projections)"
- 150 gosub2080
- 160 fl=infl-cut
- 170 w=bu-ben
- 180 printtab(9)"invested"tab(8)"earned";
- 190 printtab(9)"to/from"tab(9)"income/"tab(10)"year's
- 200 [153]" year"[163]6)"funds"[163]8)"interest";
- 210 [153][163]8)"invest."[163]8)"benefits"[163]10)"budget"
- 220 [153]" ----"[163]4)"--------"[163]7)"--------";
- 230 [153] [163]8)"-------"[163]8)"--------"[163]10)"------"
- 240 i1[178](p[171](w[173]2))[172]i[173]100
- 250 py[178](p[170]i1)[171]w
- 260 [153]yr;
- 270 p$[178][196]([181](p))
- 280 [153][163]11[171][195](p$))p$;
- 290 i1$[178][196]([181](i1))
- 300 [153][163]15[171][195](i1$))i1$;
- 310 w$[178][196]([181](w))
- 320 [153][163]15[171][195](w$))w$;
- 330 ben$[178][196]([181](ben))
- 340 [153][163]16[171][195](ben$))ben$;
- 350 bu$[178][196]([181](bu))
- 360 [153][163]16[171][195](bu$))bu$
- 370 ct[178]ct[170]1
- 380 [139] ct[177]22 [167] zz[178]zz[170]1
- 390 [139] ct[178]40[137]610
- 400 [139] bu[177](p[170]ben)[137]610
- 410 [139] p[179][178]bu [167][137]610
- 420 [139] p[177][178]1000001 [137]610
- 430 [139] yr[178]dne [137]610
- 440 [139] yx[177][178](yr[170]50)[137]610
- 450 yr[178]yr[170]1
- 460 [139] yr[178]cease [167] ben[178]ben[171]lose
- 470 [139] yr[178]bgn [167] ben[178]ben[170]gain
- 480 [139] yr[178]aity [167] ben[178]ben[171]gain
- 490 [139] yr[178]less [167] bu[178]bu[171]x
- 500 w[178]bu[171]ben
- 510 p[178]py
- 520 [139] yr[178]yer [167] p[178]p[170]xtra
- 530 [139] yr[178]what [167] p[178]p[171]amt
- 540 bu[178]bu[170](bu[172]fl[173]100)
- 550 w[178]w[170]bu[172](fl[173]100)
- 560 ben [178] ben[170](ben[172]up[173]100)
- 570 page[178]ct[170]16
- 580 [139] type$[179][177]"c"[167] page [178] 0
- 590 [139] page[178]38[137]1900
- 600 [137]240
- 610 yr[178]yr[170]1
- 620 [139] type$ [179][177] "c" [137] 640
- 630 [153][199](27)"4"
- 640 [141]2080
- 650 [139] xtra[177]0[167]660:[213]670
- 660 [153][163]15)"$";xtra;"lump-sum added to invested funds in";yer
- 670 [139] amt[177]0[167]680:[213]690
- 680 [153][163]15)"$";amt;"from investments cashed-in in";what
- 690 [139] lose[177]0[167]700:[213]710
- 700 [153][163]15)"$";lose;"loss in income/benefits starting in";cease
- 710 [139] gain[177]0[167]720:[213]730
- 720 [153][163]15)"$";gain;"more in income/benefits starting in";bgn
- 730 [139] aity[177]0[167] 740:[213]750
- 740 [153][163]15)"$";gain;"less in income/benefits starting in";aity
- 750 [139] x[177]0[167]760:[213]770
- 760 [153][163]15)"$";x;"less yearly budget starting in";less
- 770 [141]2080
- 780 [139] p[179][178]bu [137]830
- 790 [139] bu[177](p[170]ben)[137]830
- 800 [139] p[177][178]1000001[137]850
- 810 [139] ct [177][178] 40 [137] 850
- 820 [139] yr [177][178] dne [167] 850
- 830 [153] " investments depleted by year"yr;"- income/benefits may continue."
- 840 [141]2080
- 850 [153][163]42)"estimated r.o.i. -";i"%"
- 860 [153][163]42)"annual inflation rate -"infl"%"
- 870 [153][163]42)"annual cut-back in expenditures -"cut"%"
- 880 [153][163]42)"annual c.o.l.a. to benefits -";up"%"
- 890 [141]2080
- 900 [153][163]3)" retir'eze does not compensate for any income, benefits";
- 910 [153]" or cost-of-living
- 920 print"(cola) adjustments that are not documented at this time."
- 930 print"retir'eze computed figures represent approximations and/or ";
- 940 print"extrapolations based on program formulas."
- 950 if ct>22goto2010
- 960 gosub2080
- 970 printtab(5)"prepared by: ";prep$
- 980 printtab(5)"(c) copyright 1986 - c. frank schulenberg
- 990 [139] type$ [179][177]"c" [137] 1020
- 1000 [153][199](27)"5":[143] 5=italics off
- 1010 [153][199](27)"@":[143] @=reset off.
- 1020 [129]t[178]1[164]4:[153]:[130]
- 1030 [152]4:[160]4
- 1040 [128]
- 1050 [153]"load":[153]
- 1060 [153][163]6)"financial retirement program"
- 1070 [141]2080
- 1080 [153][163]5)"written by c. frank schulenberg
- 1090 gosub2080
- 1100 print"this c-64/c-128 program evaluates finances prior to retire";
- 1110 print"ment. answer all questions. do not use percentage signs (%)";
- 1120 print" or commas."
- 1130 gosub2080
- 1140 print"examples: enter 13, not 13%"
- 1150 printtab(10)"enter 10000, not 10,000
- 1160 [141]2080
- 1170 [133]"enter your name ";name$:[139]name$[178]""[167]1170
- 1180 [141]2080
- 1190 [133]"today's date ";date$:[139]date$[178]""[167]1190
- 1200 [141]2070
- 1210 [133]"in what year do you plan to retire";yr:[139]yr[178]0[167]1210
- 1220 [141]2080
- 1230 [133]"what do you want your retirement income to be ";bu:[139]bu[178]0[167]1230
- 1240 [141]2070
- 1250 [133]"how much money will you have invested onretirement ";p:[139]p[178]0[167]1250
- 1260 [141]2080
- 1270 [133]"what % return will these investments yield";i
- 1280 [141]2070
- 1290 [133]"will you get a lump sum bonus during retirement (y/n) ";future$
- 1300 [139] future$[178]"n"[137]1350
- 1310 [141]2080
- 1320 [133]"in what year will you receive it ";yer
- 1330 [141]2080
- 1340 [133]"enter the amount of the bonus";xtra
- 1350 [141]2070
- 1360 [133]"will you cash-in investments when retired (y/n)";cash$
- 1370 [139] cash$[178]"n"[137]1430
- 1380 [141]2080
- 1390 [133]"how much will you cash-in ";amt
- 1400 [141]2080
- 1410 [133]"what year will you cash-in ";what
- 1420 [141]2080
- 1430 [141]2070
- 1440 [153]"total all yearly pensions, annuities, social security, benefits,";
- 1450 [133]" etc., that you will receive on retirement ";ben
- 1460 [141]2080
- 1470 [153]" will a significant part of the income from these benefits ";
- 1480 [133]"cease in the future (y/n)";yno$
- 1490 [139] yno$[178]"n" [137]1550
- 1500 [141]2080
- 1510 [133]"in what year will the benefits decrease";cease
- 1520 [141]2080
- 1530 [133]"enter the amount of this loss";lose
- 1540 [141]2070
- 1550 [153]"will you begin to receive a new source of benefit";
- 1560 [133]" income during retirement ";nw$
- 1570 [139] nw$[178]"n" [137] 1640
- 1580 [141]2080
- 1590 [133]"what year will new benefits begin";bgn
- 1600 [141]2080
- 1610 [133]"enter the annual amount of this increase";gain
- 1620 [141]2080
- 1630 [133]"if time-limited, in what year will this increase end";aity
- 1640 [141]2070
- 1650 [153]"what % of your annual income/benefits doyou estimate will";
- 1660 [133]" reflect a 'cola' increase (0%,1%,2%?)";up
- 1670 [141] 2070
- 1680 [153]"what do you expect the annual inflation rate to be ";
- 1690 [133]"during retirement ";infl
- 1700 [141]2070
- 1710 [133]"what percent will you reduce expenses each year (2%,1%,0%)";cut
- 1720 [141]2070
- 1730 [153]"do you expect reductions in expenses to reduce annual budget";
- 1740 [133]" such as loans paid,etc. (y/n)";rpt$
- 1750 [139] rpt$[178]"n" [137]1800
- 1760 [141]2080
- 1770 [133]"how much will this reduce your annual budget";x
- 1780 [141]2080
- 1790 [133]" in what year will this budget decrease occur ";less
- 1800 [141]2070
- 1810 [153]"to end the program after specific year, input year.";
- 1820 [133]" otherwise, press <return>.";dne
- 1830 [141]2070
- 1840 [133]"name of preparer:";prep$
- 1850 [141]2070
- 1860 [133]"would you like to correct the answers";ans$
- 1870 [139] ans$[178]"y" [167] 1050
- 1880 [137] 2090
- 1890 [141]2070
- 1900 [141]2080:[141]2080:
- 1910 [153][163]17)"(retir'eze program print-out continues on page 2.)"
- 1920 [153][199](12)
- 1930 [153]
- 1940 page[178]0
- 1950 zz[178]zz[170]27
- 1960 [153][163]35) "- page 2 -"
- 1970 [141]2080:[141]2080
- 1980 [153][163]26) [199](14)"- retir'eze -"
- 1990 [141]2080
- 2000 [137]180
- 2010 [139] type$ [179][177] "c" [137] 960
- 2020 xx[178]50[171]zz
- 2030 [129] yy[178]1[164]xx
- 2040 [153]
- 2050 [130]yy
- 2060 [137]970
- 2070 [153]"load":[153]:[142]
- 2080 [153]:[142]
- 2090 [143] printers
- 2100 [153]"load"
- 2110 [153] [163]2)"enter the letter (a,b,c) for"
- 2120 [153]" your printer..."
- 2130 [141]2080:[141]2080
- 2140 [153] [163]3) "a = mps-803/mps-1000/1525"
- 2150 [141]2080
- 2160 [153] [163]3) "b = 1526/mps-802"
- 2170 [141]2080
- 2180 [153] [163]3) "c = epson/star/ascii"
- 2190 [141]2080
- 2200 [133]"printer ";type$
- 2210 [141] 2080
- 2220 [139] type$[178]"a" [176] type$[178]"b" [137]30
- 2230 [139] type$[178]"c" [137] 40
- 2240 [139] type$ [179][177] "a" [137] 2250
- 2250 [139] type$ [179][177] "b" [137] 2260
- 2260 [139] type$ [179][177] "c" [137] 2270
- 2270 [153]"load"
- 2280 [153]"incorrect input - try again!"
- 2290 [141]2080
- 2300 [137] 2110
-